package com.mingdong.second.factory.abstractFactory;

public class Test {

	public static void main(String[] args) {
		CarFactory carFactory = new HeightCarFactory();
		
		FaDongJi faDongJi = carFactory.createFaDongJi();
		
		Seat seat = carFactory.createSeat();
		
		faDongJi.run();
		
		seat.waiguan();
	}

}
